package cn.zhujs.org.mapper;

import cn.zhujs.org.domain.Department;
import cn.zhujs.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper {
    void save(Department department);
    void update(Department department);
    void delete(Long id);
    Department loadById(Long id);
    List<Department> loadAll();
    Long queryCount(DepartmentQuery query);
    List<Department> queryData(DepartmentQuery query);

}
